Skip to content

docs(features): step-by-step low-level EP walkthrough#82

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/ep-examples-tests
Jul 10, 2026
Merged

docs(features): step-by-step low-level EP walkthrough#82
Jammy2211 merged 1 commit into
mainfrom
feature/ep-examples-tests

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

EP framework review Phase 3, workspace leg (tracker autofit_workspace#81; plan approved in-session 2026-07-08; ship approved by human 2026-07-10). New scripts/features/expectation_propagation.py — the step-by-step low-level-API EP run-through in the mould of likelihood_function.py: build the factor graph by hand, run one EP update per cell, inspect messages, each cell citing its equation in autofit/graphical/README.md (merged via PyAutoFit#1334). graphical_models.py closing section cross-references it.

API Changes

None — workspace scripts only.

Test Plan

  • Walkthrough validated end-to-end: dissected first update moves the shared centre 35 → 48.5±10.0; damped (δ=0.7) global update 47.7±11.6; full loop converges 49.96 ± 0.12 with all per-dataset parameters recovered
  • No output/binary leaks — exactly 2 intended files
  • Companion integration scripts (autofit_workspace_test PR) re-validated PASS against post-#1345/#1348 main

🤖 Generated with Claude Code

EP framework review Phase 3 (workspace leg): new
scripts/features/expectation_propagation.py — build the factor graph by
hand, run one EP update per cell, inspect messages; each cell cites its
equation in autofit/graphical/README.md. Validated end-to-end: shared
centre converges 49.96 +/- 0.12 on the three-dataset toy.
graphical_models.py closing section cross-references it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 10, 2026
@Jammy2211 Jammy2211 merged commit 84b86fe into main Jul 10, 2026
6 of 8 checks passed
@Jammy2211 Jammy2211 deleted the feature/ep-examples-tests branch July 10, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant